package cn.tth.test.model;

public class ExtendsModel {

    public static void main(String[] args) {
        B a = new B();
        System.out.println(a.get());
    }

    public static class A{
        private Integer X = 1;

        public String get(){
            return X.toString();
        }
    }

    public static class B extends A{

    }
}
